reset

set style line 1 lc rgb '#0060ad' lt 1 lw 3 pt 7 ps 1.5
set style line 2 lc rgb '#dd181f' lt 1 lw 3 pt 7 ps 1.5
set style line 3 lc rgb 'orange' lt 1 lw 3 pt 7 ps 1.5

fontsize = 35
#set term postscript enhanced eps fontsize
set term png size 600,400

set output "priority_vs_workloads.png" 
         
set xlabel "Priority (Id)"
set xrange [0:10]

set ylabel "Throughput (Reads per second)"
set yrange [0:300]  
    
set key right bottom

plot 'webserver.out' u 1:2 w linespoints ls 1 title "Web Server", \
'mailserver.out' u 1:2 w linespoints ls 2 title "Mail Server", \
'videostreamer.out' u 1:2 w linespoints ls 3 title "Video Streamer"
